package com.apollographql.apollo.subscription;

import java.io.IOException;
import com.kt.Metadata;
import okio.BufferedSink;
import okio.BufferedSource;

@Metadata(bv = {1, 0, 3}, d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001J\u0010\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H&J\u0018\u0010\u0006\u001a\u00020\u00072\u0006\u0010\b\u001a\u00020\t2\u0006\u0010\n\u001a\u00020\u000bH&¨\u0006\f"}, d2 = {"Lcom/apollographql/apollo/subscription/OperationMessageSerializer;", "", "readServerMessage", "Lcom/apollographql/apollo/subscription/OperationServerMessage;", "source", "Lokio/BufferedSource;", "writeClientMessage", "", "message", "Lcom/apollographql/apollo/subscription/OperationClientMessage;", "sink", "Lokio/BufferedSink;", "apollo-runtime"}, k = 1, mv = {1, 4, 0})
/* compiled from: OperationMessageSerializer.kt */
public interface OperationMessageSerializer {
    OperationServerMessage readServerMessage(BufferedSource bufferedSource) throws IOException;

    void writeClientMessage(OperationClientMessage operationClientMessage, BufferedSink bufferedSink) throws IOException;
}
